/**
 * 授权 API
 */
import {
	http
} from '../request/main.js';


/**
 * 获取门店列表
 * 
 * @returns {Promise}
 */
export function getShopList(group, page, page_size) {
	return http.post('/shop/getShopList', {
		group,
		page,
		page_size
	}, {
		muteLogin: true
	})
}

/**
 * 获取门店详情
 * 
 * @returns {Promise}
 */
export function getShopDetail(id) {
	return http.post('/shop/getShopDetail', {
		id
	}, {
		muteLogin: true
	})
}